function findSongLists() {
	$.ajax({
		url : "music/user/findsonglists",
		data : {},
		dataType : "json",
		type : "post",
		success : function(data) {
			var songList = data.songList;
			 if(songList.length != 0){
				 $(".songlist_main li").remove();
				 $(".js_topaddsongsheet li").remove();
				 $(".js_gedanda li").remove();
				 for (var i = 0; i < songList.length; i++) {
					 var html = `
						 <li class="left_li"><a href="javascript:;" draggable="false">
						    <input id="customlist_id" type="hidden" >
							<i class="iconfont icon-yinle" style="top: -1px;"></i> 
							<span class="js_value lestli_val"></span>
						 </a>
						 <div class="js_box leftli_box" style="display: none">
						 <span class="js_leftlidelte"><i
							class="iconfont icon-lajitong"></i></span> <span class="js_leftedit"><i
							class="iconfont icon-qianbi"></i></span>
						 </div></li>
                     `
				     var html1 = `<li class="js_addsheet"><a href="javascript:;" ></a></li>`
					 $(".songlist_main").append(html);
	                 $(".js_songlist li:last").find(".lestli_val").html(songList[i].list_name);
	                 $(".js_songlist li:last").find("#customlist_id").attr("value",songList[i].lid);
	                 $(".js_topaddsongsheet").append(html1);
	                 //$(".js_addtools ul a:last").attr("id",i);
	                 $(".js_addtools ul a:last").html(songList[i].list_name);
	                 //$(".js_gedanda").append(html2);
	                 //$(".js_gedanda li:last").html(data.songList[i]);

	                 var elem_li = document.createElement("li");
	                 elem_li.setAttribute("class", "js_gedan");
	                 elem_li.innerHTML=songList[i].list_name;
	                 $(".js_gedanda").append(elem_li);

				 }
			 }else{
				 $(".songlist_main li").remove();
				 $(".js_addtools ul li:last").remove();
				 $(".js_gedanda li").remove();
				 var html = `
					 <li><span class="js_value lestli_val"></span></li>
                 `
				 $(".songlist_main").append(html);
                 $(".js_songlist li:last").find(".lestli_val").html("您还未创建歌单哦");
                 $(".js_topaddsongsheet").append(html1);
			 }
		},
		error : function(data) {
			// console.log("error");
			$(".js_songlist li:last").find(".lestli_val").html("获取用户歌单列表出错");
		}
	}); 
}

//等待歌曲列表加载完成后才能给详细中添加自定义歌单信息
function addGedanda(){
	$(".js_gedanda li").remove();
	var custom_li = $(".js_addsheet a");
	for (i=0;i<custom_li.length;i++){
		var elem_li = document.createElement("li");
		elem_li.setAttribute("class", "js_gedan");
		elem_li.innerHTML=custom_li[i].innerHTML;
		$(".js_gedanda").append(elem_li);
	}

}